//
// Created by two8g on 17-11-27.
//

#include "AddSalariedEmployee.h"
#include "SalariedClassification.h"
#include "MonthlySchedule.h"

using namespace std;

AddSalariedEmployee::~AddSalariedEmployee() {

}

AddSalariedEmployee::AddSalariedEmployee(int empId, string name, string address, double salary)
        : AddEmployeeTransaction(empId, name, address), itsSalary(salary) {}

PaymentClassification *AddSalariedEmployee::GetClassification() const {
    return new SalariedClassification(itsSalary);
}

PaymentSchedule *AddSalariedEmployee::GetSchedule() const {
    return new MonthlySchedule();
}
